// Author: combacsa@kaist.ac.kr
// http://www.jungol.co.kr/prog/Hanal/hanalView.php?qs_code=127

//#define COMPILE
#ifdef COMPILE

#include <fstream>
#include <iomanip>
using namespace std;

double round(double x) {
	return (double)((int)(x * 10 + 0.5)) / (10.0);
}

int main() {
	ifstream in("input.txt");
	int n = 0;
	int x;
	int sum = 0;
	in >> x;
	while ((0 <= x) && (x <= 100)) {
		sum += x;
		n++;
		in >> x;
	}
	in.close();
	ofstream out("output.txt");
	out << "합계 : " << sum << "점" << endl;
	out << "평균 : " << fixed << setprecision(1) << round((double)(sum) / (double)(n)) <<"점" << endl;
	out.close();



	return 0;
}
#endif
